package org.example.aienglishapp.entity.speech.chapter;

import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Asus
 */
@Getter
@Setter
public class Chapter implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Long chapterId;
    private Long bookId;
    private String etitle;
    private String title;

    @Override
    public String toString() {
        return "Chapter{" +
                "chapterId=" + chapterId +
                ", bookId=" + bookId +
                ", etitle='" + etitle + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
